home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / clang / tcclib.zip / README < prev    next >
Text File  |  1989-02-13  |  6KB  |  130 lines

  1. TCCLIB Libraries for Turbo C (tm).
  2.  
  3. Thank you for downloading this library.  I hope it will be useful
  4. to you.  I'm distributing it as shareware, so feel free to give
  5. copies to all your programming buddies.
  6.  
  7. OK. So I'm lousy at documentation.  But do take a minute to read this.
  8. I always used to despise software makers (like Lotus) who had excellent
  9. products, but documentation that was worse than nothing at all.  Now
  10. I'm not so down on them.  At least most of these routines are very
  11. self-explanatory.
  12.  
  13. ANYHOW, you need to read this introduction.  It provides necessary
  14. information to get you going with TCCLIB.
  15.  
  16. If you find this beneficial, please register by sending $20 to
  17.  
  18.                         Chris Collins
  19.                         2824 Clyde Road
  20.                         Highland, MI 48031
  21.  
  22. Registration will entitle you to (1) telephone support, (2) the next
  23. two updates, (3) compact, medium, large and huge memory model versions
  24. of the library, and (4) use of these routines for personal or commercial
  25. applications without any further payment.
  26.  
  27. If you want to register and receive the source code, please send $50
  28. to the above address.  That price entitles you to the source code for
  29. this and the next two updates.
  30.  
  31. Please send any suggestions or bug reports to the above address.
  32. I will fix any bugs immediately!  (I have tested these routines, and
  33. I don't know of any problems).  I am always eager to improve these
  34. routines in any way possible.  I expect to have two or three updates
  35. in the near future, with more functions.
  36.  
  37. Also included are windowing routines written by Chuck Jazdzewski of
  38. Borland International.  They are very fast and powerful.  I have
  39. included them in a separate library, as well as included a separate
  40. doc file and header file.  I just didn't feel worthy to put my stuff
  41. in with his.
  42.  
  43. /***********************************************************************
  44.                            Header File
  45. /***********************************************************************
  46. The header file TCCLIB.H is supplied with the library.  It should be
  47. included in any source files that call any of these routines.
  48. The header file WINDOW.H is also included for the windowing routines.
  49.  
  50.  
  51. /***********************************************************************
  52.                             Nomenclature
  53. /***********************************************************************
  54. You will notice right off that I do something very different from most
  55. C programmers -- I capitalize the first letters of my functions and
  56. significant words in the names.  So rather than window_lister, I use
  57. WindowLister.  I personally think it is easier to read.  If you hate my
  58. guts for cramping your style, let me know and I'll take it into
  59. consideration in future versions.
  60.  
  61. HOWEVER, the window routines use the normal all-lower-case names.
  62.  
  63. /***********************************************************************
  64.                          Global variables
  65. /***********************************************************************
  66. The following are the global variables used by TCCLIB.  You are always
  67. free to change them to suit your tastes, especially if you have a color
  68. monitor.  I've never worked on anything but monochrome.  I expect to
  69. support lots more color and sound in future versions.
  70.  
  71. They are defined in the file GLOBALS.OBJ.
  72.  
  73.     attrib        this is the attribute that will be used for most
  74.                   text output; initialized to 7.
  75.  
  76.     A_NORMAL      this is what is considered the normal attribute
  77.                   for text output;  initialized to 7.
  78.  
  79.     A_REVERSE     this is what is considered the reverse attribute
  80.                   for text output;  initialized to 0x70.
  81.  
  82. /***********************************************************************
  83.                          Using the library
  84. /***********************************************************************
  85. I am assuming that if you have gotten this far, you have a basic
  86. understanding of computer language libraries.  I would like to mention
  87. just two quick points.
  88.  
  89. 1. You can use the turbo librarian to extract the modules, then add
  90.    them to the cs.lib library, so that you never have to include the
  91.    library in your project or make file.
  92.  
  93. 2. You can add the TCCLIB.LIB library to your project file.
  94.    See the file DEMO.PRJ for an example of this.
  95.  
  96.  
  97. /***********************************************************************
  98.                     Summary of the Library
  99. /***********************************************************************
  100. If you like the flexibility of the printf and cprintf functions,
  101. but want faster execution, these functions are for you.  Several
  102. of them allow variable parameters like printf and cprintf, but
  103. they work much quicker.  Lots of video functions here.  Center
  104. text, turn the cursor on and off, change attributes, etc.
  105.  
  106. There's a function here which lists certain files on a disk or
  107. directory and allows the user to select one from the list.
  108.  
  109. There's a function which lets you browse through arrays of data,
  110. performing various tasks with the items.
  111.  
  112. There's one that will find all the files on any disk that match
  113. a given pattern, and let you perform any task you want with those
  114. files.
  115.  
  116. There are functions that help you determine the display being used,
  117. and even if the computer is an AT-class machine.  You can turn the
  118. caps lock, num lock, and scroll lock on or off.
  119.  
  120. There are functions to draw boxes and horizontal and vertical lines
  121. using character graphics.  They even know to draw crosses rather
  122. than single lines at intersections.
  123.  
  124. There's a set of powerful functions to handle input of multiple
  125. fields on the screen.
  126.  
  127. You can even set a timer and get the elapsed time since it was
  128. started.
  129.  
  130.